home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EuroCD 3
/
EuroCD 3.iso
/
Rexx
/
IndentBlk.bed
< prev
next >
Wrap
Text File
|
1998-06-24
|
532b
|
39 lines
/*
** $VER: IndentBlk.bed 1.01 (01.04.96)
**
** Indent the selected block
**
** Written by Marco Negri
*/
OPTIONS RESULTS
SetInputLock ON
SetDisplayLock ON
GetBlkDims
PARSE VAR RESULT mode . start . end
GetCursorPos
PARSE VAR RESULT y x .
IF mode = OFF THEN DO
SetStatusBar "Error: No block selected!"
END; ELSE DO
SetStatusBar "Indenting the block..."
Move LINE start
RecordMacro QUIET
ShiftRight TABS
MoveDown
EndMacro
IF end-start > 0 THEN
PlayMacro end-start
Move y x
END
SetDisplayLock OFF
SetInputLock OFF